package models

import "tuowei.com/common/models"

type SysAppConfig struct {
	models.Model
	Name             string `json:"name" gorm:"type:varchar(50);comment:名称"`
	IconUrl          string `json:"icon_url" gorm:"type:varchar(255);comment:图片链接地址"`
	LinkUrl          string `json:"link_url" gorm:"type:varchar(255);comment:跳转链接"`
	LinkUrlIsOutSide int    `json:"link_url_is_out_side" gorm:"type:tinyint(1);comment:是否外部链接 1为外部"`
	Sort             int    `json:"sort" gorm:"type:tinyint(1);comment:排序"`
	IsShow           int    `json:"is_show" gorm:"type:tinyint(1);comment:是否展示"`
	models.ControlBy
	models.ModelTime
}

func (SysAppConfig) TableName() string {
	return "sys_app_config"
}
